import pao = require('./public/pao/public');
import paoServer = require('./public/pao/server/server');

// 启动应用
export let app = new paoServer.serverApplication();

app.port = 3000;
app.servics = [
    {
        serviceName: 'databaseLogService',  // 数据库日志服务
        serviceObject: new paoServer.databaseLogger() 
    },
    {
        serviceName: 'fileLogService',      // 文件日志服务
        serviceObject: new paoServer.fileLogger() 
    }
];

app.serverLogger = new paoServer.databaseLogger(); 